import 'package:fish_redux/fish_redux.dart';

enum BottomSelectViewAction {
  action,
  onSearch,
  onTap,
}

class BottomSelectViewActionCreator {
  static Action onAction() {
    return const Action(BottomSelectViewAction.action);
  }

  static Action onTap(index) {
    return Action(BottomSelectViewAction.onTap, payload: index);
  }

  static Action onSearch(value) {
    return Action(BottomSelectViewAction.onSearch, payload: value);
  }
}
